package com.ftg.learn.chapter08.extendanimal;

import lombok.Data;

/**
 * 动物类
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/25 14:10
 */
@Data
public class Animal {

    private String foot;

    public void run(){
        System.out.println("动物跑");
    }
    public void eat(){
        System.out.println("动物吃");
    }

}
